package com.sdhs.paas.gateway.config;

import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix="acmanage")
public class AcmanageRuleConfig
{
  private boolean defaultAccessAllowed;
  private List<List<String>> accessRules;
	private List<List<String>> menuRules;

  public boolean isDefaultAccessAllowed()
  {
    return this.defaultAccessAllowed;
  }

  public List<List<String>> getAccessRules()
  {
    return this.accessRules;
  }

  public List<List<String>> getMenuRules()
  {
    return this.menuRules;
  }

  public void setDefaultAccessAllowed(boolean defaultAccessAllowed)
  {
    this.defaultAccessAllowed = defaultAccessAllowed; } 
  public void setAccessRules(List<List<String>> accessRules) { this.accessRules = accessRules; } 
  public void setMenuRules(List<List<String>> menuRules) { this.menuRules = menuRules; }

}
